package util.returnvo;

import vo.ReviewVO;

/**
 * index.jsp에서 뿌려질 정보모음
 */
public class IndexReturnVO {
	private MajorunitReturnVO scoreTop;
	private MajorunitReturnVO jobTop;
	private MajorunitReturnVO professorTop;
	private MajorunitReturnVO facilityTop;
	private MajorunitReturnVO scholarshipTop;
	private MajorunitReturnVO awarenessTop;
	private MajorunitReturnVO regionTop;
	private MajorunitReturnVO lineTop;
	private ReviewVO interestNew;

	public IndexReturnVO() {}

	/**
	 * 관심학과 없을 경우
	 * @param scoreTop 총점 최고 학과
	 * @param jobTop 취업 최고 학과
	 * @param professorTop 교수진 최고 학과
	 * @param facilityTop 시설 최고 학과
	 * @param scholarshipTop 장학금 최고 학과
	 * @param awarenessTop 인지도 최고 확과
	 * @param regionTop 지역 최고 확과
	 * @param lineTop 계열 최고 확과
	 */
	public IndexReturnVO(MajorunitReturnVO scoreTop, MajorunitReturnVO jobTop,
			MajorunitReturnVO professorTop, MajorunitReturnVO facilityTop,
			MajorunitReturnVO scholarshipTop, MajorunitReturnVO awarenessTop, 
			MajorunitReturnVO regionTop, MajorunitReturnVO lineTop) {
		this.scoreTop = scoreTop;
		this.jobTop = jobTop;
		this.professorTop = professorTop;
		this.facilityTop = facilityTop;
		this.scholarshipTop = scholarshipTop;
		this.awarenessTop = awarenessTop;
		this.regionTop=regionTop;
		this.lineTop=lineTop;
	}

	/**
	 * 관심학과 있을 경우
	 * @param scoreTop 총점 최고 학과
	 * @param jobTop 취업 최고 학과
	 * @param professorTop 교수진 최고 학과
	 * @param facilityTop 시설 최고 학과
	 * @param scholarshipTop 장학금 최고 학과
	 * @param awarenessTop 인지도 최고 확과
	 * @param regionTop 지역 최고 확과
	 * @param lineTop 계열 최고 확과
	 * @param interestNew 관심학과 최근 리뷰
	 */
	public IndexReturnVO(MajorunitReturnVO scoreTop, MajorunitReturnVO jobTop,
			MajorunitReturnVO professorTop, MajorunitReturnVO facilityTop,
			MajorunitReturnVO scholarshipTop, MajorunitReturnVO awarenessTop, 
			MajorunitReturnVO regionTop, MajorunitReturnVO lineTop, ReviewVO interestNew) {
		this.scoreTop = scoreTop;
		this.jobTop = jobTop;
		this.professorTop = professorTop;
		this.facilityTop = facilityTop;
		this.scholarshipTop = scholarshipTop;
		this.awarenessTop = awarenessTop;
		this.regionTop=regionTop;
		this.lineTop=lineTop;
		this.interestNew = interestNew;
	}

	public MajorunitReturnVO getScoreTop() {
		return scoreTop;
	}

	public void setScoreTop(MajorunitReturnVO scoreTop) {
		this.scoreTop = scoreTop;
	}

	public MajorunitReturnVO getJobTop() {
		return jobTop;
	}

	public void setJobTop(MajorunitReturnVO jobTop) {
		this.jobTop = jobTop;
	}

	public MajorunitReturnVO getProfessorTop() {
		return professorTop;
	}

	public void setProfessorTop(MajorunitReturnVO professorTop) {
		this.professorTop = professorTop;
	}

	public MajorunitReturnVO getFacilityTop() {
		return facilityTop;
	}

	public void setFacilityTop(MajorunitReturnVO facilityTop) {
		this.facilityTop = facilityTop;
	}

	public MajorunitReturnVO getScholarshipTop() {
		return scholarshipTop;
	}

	public void setScholarshipTop(MajorunitReturnVO scholarshipTop) {
		this.scholarshipTop = scholarshipTop;
	}

	public MajorunitReturnVO getAwarenessTop() {
		return awarenessTop;
	}

	public void setAwarenessTop(MajorunitReturnVO awarenessTop) {
		this.awarenessTop = awarenessTop;
	}

	public MajorunitReturnVO getRegionTop() {
		return regionTop;
	}

	public void setRegionTop(MajorunitReturnVO regionTop) {
		this.regionTop = regionTop;
	}

	public ReviewVO getInterestNew() {
		return interestNew;
	}

	public void setInterestNew(ReviewVO interestNew) {
		this.interestNew = interestNew;
	}

	public MajorunitReturnVO getLineTop() {
		return lineTop;
	}

	public void setLineTop(MajorunitReturnVO lineTop) {
		this.lineTop = lineTop;
	}

	@Override
	public String toString() {
		return "IndexReturnVO [scoreTop=" + scoreTop + ", jobTop=" + jobTop
				+ ", professorTop=" + professorTop + ", facilityTop="
				+ facilityTop + ", scholarshipTop=" + scholarshipTop
				+ ", awarenessTop=" + awarenessTop + ", regionTop=" + regionTop
				+ ", lineTop=" + lineTop + ", interestNew=" + interestNew + "]";
	}
}
